<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets">

    <body>

        <ui:composition template="./Templates/general2.xhtml">
            <ui:param name="title" value="Login"/>

            <ui:define name="extraHead">
            </ui:define>

            <ui:define name="body-left">
            </ui:define>

            <ui:define name="content">
                <ui:decorate template="/Templates/elms/entrada.xhtml">
                    <ui:param name="id" value="inicio-sesion"/>
                    <ui:param name="hideTitle" value="${true}" />

                    <ui:define name="content">
                        <h3> <span style="color: red;"> El usuario y/o contrase&ntilde;a invalidos.</span></h3>
                        <p> Intente nuevamente o <a href="/">Volver al portal</a></p>
                        <form class="ui-form" action="j_security_check" method="post">
                            <fieldset>
                                <legend>Inicio de Sesi&oacute;n</legend>
                                <p>
                                    <label for="j_username">Usuario:<span/></label>
                                    <input type="text" name="j_username" />
                                </p>
                                <p>
                                    <label for="j_password">Contrase&ntilde;a<span/></label>
                                    <input type="password" name="j_password" />
                                </p>
                            </fieldset>
                            <div class="ui-form-command" style="text-align: center">
                                <input value="Identificarse" type="submit" />
                            </div>
                        </form>
                        <h:messages style="display: none;"/>
                    </ui:define>

                </ui:decorate>
            </ui:define>

        </ui:composition>
    </body>
</html>
